package com.space.school.dao;

import com.space.school.domain.Order;
import com.space.school.domain.OrderMaster;
import com.space.school.domain.ProductInfo;
import com.space.school.domain.User;

import java.util.List;

public interface OrderDao {

    List<ProductInfo> productList();
    //    保存明细数据
    void insert(Order order);
//    退出操作
    void delete(String order_id);
//    查询总数量和总金额
    List<OrderMaster> totalList (String order_id);
    //    保存主数据
    void insert(OrderMaster orderMaster);
}
